package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.OrderReturn;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class OrderReturnQuery extends SearchModel<OrderReturn> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * ID       db_column: id 
     */	
	private String id;
	  /**
     * 退货单号       db_column: return_no
     */
	private String returnNo;
	  /**
     * 退货订单ID       db_column: order_id
     */
	private String orderId;
	  /**
     * 退货订单号       db_column: order_no
     */
	private String orderNo;
	  /**
     * 商品id       db_column: goods_id
     */
	private String goodsId;
	  /**
     * 退货商品名       db_column: goods_name
     */
	private String goodsName;
	  /**
     * 商品主图       db_column: main_picture_address
     */
	private String mainPictureAddress;
	  /**
     * skuID       db_column: sku_id
     */
	private String skuId;
	  /**
     * 商品属性名       db_column: sku_name
     */
	private String skuName;
	  /**
     * 用户id       db_column: user_id
     */
	private String userId;
	  /**
     * 用户名       db_column: user_name
     */
	private String userName;
	  /**
     * 退款金额       db_column: return_amount
     */
	private Double returnAmount;
	  /**
     * 退货人姓名       db_column: return_name
     */
	private String returnName;
	  /**
     * 退货人电话       db_column: return_phone
     */
	private String returnPhone;
	  /**
     * 退货快递单号       db_column: express_order_code
     */
	private String expressOrderCode;
	  /**
     * 退货数量       db_column: return_num
     */
	private Integer returnNum;
	  /**
     * 退货原因       db_column: reason
     */
	private String reason;
	  /**
     * 状态（0申请中1已审核2已退款3拒绝申请4退货驳回）       db_column: status
     */
	private String status;
	  /**
     * 备注       db_column: remark
     */
	private String remark;
	  /**
     * 创建时间       db_column: create_date
     */
	private java.util.Date createDate;
	  /**
     * 审核通过/不通过时间       db_column: apply_date
     */
	private java.util.Date applyDate;
	  /**
     * 退款/驳回时间       db_column: deal_date
     */
	private java.util.Date dealDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getReturnNo() {
		return this.returnNo;
	}

	public void setReturnNo(String value) {
		this.returnNo = value;
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String value) {
		this.orderId = value;
	}

	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String value) {
		this.orderNo = value;
	}

	public String getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(String value) {
		this.goodsId = value;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String value) {
		this.goodsName = value;
	}

	public String getMainPictureAddress() {
		return this.mainPictureAddress;
	}

	public void setMainPictureAddress(String value) {
		this.mainPictureAddress = value;
	}

	public String getSkuId() {
		return this.skuId;
	}

	public void setSkuId(String value) {
		this.skuId = value;
	}

	public String getSkuName() {
		return this.skuName;
	}

	public void setSkuName(String value) {
		this.skuName = value;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String value) {
		this.userId = value;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String value) {
		this.userName = value;
	}

	public Double getReturnAmount() {
		return this.returnAmount;
	}

	public void setReturnAmount(Double value) {
		this.returnAmount = value;
	}

	public String getReturnName() {
		return this.returnName;
	}

	public void setReturnName(String value) {
		this.returnName = value;
	}

	public String getReturnPhone() {
		return this.returnPhone;
	}

	public void setReturnPhone(String value) {
		this.returnPhone = value;
	}

	public String getExpressOrderCode() {
		return this.expressOrderCode;
	}

	public void setExpressOrderCode(String value) {
		this.expressOrderCode = value;
	}

	public Integer getReturnNum() {
		return this.returnNum;
	}

	public void setReturnNum(Integer value) {
		this.returnNum = value;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String value) {
		this.reason = value;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String value) {
		this.status = value;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String value) {
		this.remark = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public java.util.Date getApplyDate() {
		return this.applyDate;
	}

	public void setApplyDate(java.util.Date value) {
		this.applyDate = value;
	}

	public java.util.Date getDealDate() {
		return this.dealDate;
	}

	public void setDealDate(java.util.Date value) {
		this.dealDate = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

